$(document).ready(function() {
	$("#firstMenuDiv a").each(function() {
		$(this).bind('click', menuClick);
	});

	$("#butn").bind('click', function() {
		$('#div1').toggle();
	})


	$("#dutysignlink").bind("click", exec);
	exec();
});
menuClick = function() {
	$(".actived").removeClass("actived");
	$(this).addClass("actived");
}
function setContent() {
	var windowHeight = getWindowHeight();
	var contentElement = document.getElementById('content');
	contentElement.style.height = (windowHeight - 60) + 'px';
	contentElement.style.position = 'relative';
	contentElement.style.width = getWindowWidth() + 'px';
}
openjBox = function(url, options, winName, winObj) {
	currentWin[winName] = winObj;
	$.jBox(url, options);
}
closejBox = function(winName) {
	delete currentWin[winName];
	$.jBox.close();
}
getMessageBox = function() {
	return $.jBox;
}
var currentWin = {};